import request from "@/utils/request";

/**
 * 获取用户信息
 */
export function getUserInfo() {
  return request({
    url: "/getInfo",
    method: "get",
  });
}
/**
 * 修改用户信息
 */
export function updateUserProfile(data: any) {
  return request({
    url: "/system/user/profile",
    method: "put",
    data: data,
  });
}
